home *** CD-ROM | disk | FTP | other *** search
/ BCI NET 2 / BCI NET 2.iso / archives / utilities / shell / ifexists.lha / IfExists.doc next >
Encoding:
Text File  |  1995-02-09  |  1.0 KB  |  47 lines

  1.  
  2.                               IfExists 1.0
  3.                      Copyright 1995 by Johan Billing
  4.  
  5. Purpose of this program:
  6. ========================
  7. The normal 'If' command can't handle wildcards in 'If exists' statement.
  8. That is the reason why I wrote this program.
  9.  
  10. Usage:
  11. ======
  12. Command template: FILE/A
  13.  
  14. All you have to do is to specify the file/wildcard you want to search for.
  15. IfExists will return WARN if anything was found.
  16.  
  17. Example:
  18. ========
  19.  
  20. ; This example script will check for any files in the directory
  21. ; FILES:Upload
  22.  
  23. IfExists FILES:Upload/#?
  24.  
  25. If WARN
  26.  Echo "There are unvalidated files in the upload area"
  27. EndIf
  28.  
  29. Legal stuff:
  30. ============
  31. The program is FreeWare. You are may use and spread it freely. Upload
  32. it to your favourite BBS and give it to your friends!
  33.  
  34. Author:
  35. =======
  36.  
  37.      Normal mail: Johan Billing
  38.                   Ă–stra Storgatan 22
  39.                   260 60 Kvidinge
  40.                   Sweden
  41.  
  42.      E-mail:      johan.billing@kcc.ct.se
  43.  
  44.      FidoNet:     Johan Billing at 2:200/207.6@FidoNet
  45.  
  46.  
  47.